<%-- 
    Document   : Schedule
    Created on : Nov 17, 2013, 5:34:54 PM
    Author     : smarzoug
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
  <%@ page import="com.dts.uas.model.*" %>
  <%@ page import="com.dts.uas.dao.*" %>
 
   <form action="ViewScheduleAction.jsp" method="post">
   <table boder="1"><caption><h1>to viewschedule details</h1></caption>
   <tr>
   <td>
   enter ur applno:
   </td>
   <td>
   <input type="text" name="appno">
   
   </td>
   
   </tr>
   <tr>
   <td>
   </td>
   <td>
   <input type="submit" value="submuit">
   </td>
   </tr>
   <% 
   String loginname=(String)session.getAttribute("user");
	
   String status=new RegistrationDAO().getStatus(loginname);
    if(status.equalsIgnoreCase("Accepted"))
    {
    
    %>
    <jsp:include page="ExamSchdule.jsp"/>
 
 <%} %>
 
  </body>
</html>
